﻿using System;
using System.Collections.ObjectModel;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Acme.BookStore2
{
    /// <summary>
    /// 车辆检查记录
    /// </summary>
    public class VehicleRepairRecordDto : ExtensibleFullAuditedEntityDto<Guid>, IMultiTenant, IHasConcurrencyStamp
    {
        /// <summary>
        /// 维修开始日期
        /// </summary>
        public DateTime? StartDate { get; set; }
        /// <summary>
        /// 维修结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 维修地点
        /// </summary>
        public string Location { get; set; }
        /// <summary>
        /// 送修人
        /// </summary>
        public string FollowUpPerson { get; set; }
        /// <summary>
        /// 花费
        /// </summary>
        public string Cost { get; set; }
        /// <summary>
        /// 故障原因
        /// </summary>
        public string FailureCause { get; set; }
        /// <summary>
        /// 维修人
        /// </summary>
        public string Technician { get; set; }
        /// <summary>
        /// 维修项目
        /// </summary>
        public string Detail { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        public Collection<AttachFileDto> AttachFiles { get; set; }
        /// <summary>
        /// 车辆Id
        /// </summary>
        public Guid VehicleId { get; set; }
        
        public Guid? TenantId { get; set; }
        public string ConcurrencyStamp { get; set; }
    }
}